<script setup>
import { ref } from 'vue'
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
import Counter from './components/Counter.vue'
// import TodoList from './components/TodoList.vue'
import MyComputed from './components/MyComputed.vue'

const counter = ref(0)

function add () {
  counter.value++
}

</script>

<template>
  <my-computed :counter="counter" @add="add" />
  <counter :counter="counter" />
</template>
